const { ccclass, property } = cc._decorator;

@ccclass
export default class TravelEventRewardPage extends cc.Component {
   titleNode: cc.Node = null;
   title1: cc.Node = null;
   title2: cc.Node = null;
   title3: cc.Node = null;
   tips: cc.Node = null;
   title4: cc.Node = null;
   lightNode: cc.Node = null;
   redPaper: cc.Node = null;
   cashLabel: cc.Node = null;
   btn_video: cc.Node = null;
   videoIcon: cc.Node = null;
   btn_des: cc.Node = null;
   btn_noScrap: cc.Node = null;
   btn_revice: cc.Node = null;
   des: cc.Node = null;

    onLoad() {
        this.titleNode = this.node.getChildByName("titleNode");
        this.title1 = this.titleNode.getChildByName("title1");
        this.title2 = this.titleNode.getChildByName("title2");
        this.title3 = this.titleNode.getChildByName("title3");
        this.tips = this.title3.getChildByName("tips");
        this.title4 = this.titleNode.getChildByName("title4");
        this.lightNode = this.node.getChildByName("lightNode");
        this.redPaper = this.node.getChildByName("redPaper");
        this.cashLabel = this.node.getChildByName("cashLabel");
        this.btn_video = this.node.getChildByName("btn_video");
        this.videoIcon = this.btn_video.getChildByName("videoIcon");
        this.btn_des = this.btn_video.getChildByName("btn_des");
        this.btn_noScrap = this.node.getChildByName("btn_noScrap");
        this.btn_revice = this.node.getChildByName("btn_revice");
        this.des = this.btn_revice.getChildByName("des");
    }
}